/*
 * Copyright (c) 2020 Carnegie Lee
 * All rights reserved
 */
package com.geekc.kafka.domain;

import java.io.Serializable;

/**
 * 消息实体
 * @author Carnegie Lee
 */
public class Message implements Serializable {

    private int messageId;

    private String messageBody;

    public int getMessageId() {
        return messageId;
    }

    public void setMessageId(int messageId) {
        this.messageId = messageId;
    }

    public String getMessageBody() {
        return messageBody;
    }

    public void setMessageBody(String messageBody) {
        this.messageBody = messageBody;
    }

    @Override
    public String toString() {
        return "Message{" +
                "messageId=" + messageId +
                ", messageBody='" + messageBody + '\'' +
                '}';
    }
}
